package com.qgs.wcs.yewu.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.qgs.wcs.yewu.entity.MyTest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cxcx
 * @since 2021-09-18
 */
public interface MyTestMapper extends BaseMapper<MyTest> {
    List<MyTest> getByAge(@Param("age")Integer age);
    IPage<MyTest> getByAgePageVo(Page<MyTest> page, @Param("age") Integer age);

    MyTest getById(@Param("id")Integer id);
}
